//
//  FindPictureContentCollectionViewCell.m
//  Project_A Gary
//
//  Created by leilei on 16/4/9.
//  Copyright © 2016年 www.lei.com. All rights reserved.
//

#import "FindPictureContentCollectionViewCell.h"

@implementation FindPictureContentCollectionViewCell

- (void)dealloc
{
    [_imgView release];
    [super dealloc];
    
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.imgView = [[UIImageView alloc] init];
        self.imgView.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.imgView];
        [_imgView release];
        
    }
    return self;
}


- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    [super applyLayoutAttributes:layoutAttributes];
    self.imgView.frame = CGRectMake(0, 0, (BOUNDS_WIDTH - 20 - 10) / 3, 80);
}



@end
